package org.tis.tools.demo.module.swagger.controller.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.tis.tools.model.web.RestRequest;

import java.util.Date;

@ApiModel("新用户")
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
public class NewUser extends RestRequest {

    @ApiModelProperty(required = true, value = "用户姓名")
    private String userName;
    @ApiModelProperty(required = true, value = "用户年龄")
    private Integer age;
    @ApiModelProperty(required = true, value = "用户生日")
    private Date birthday;
}
